package com.cat.model.biz.service.admin;

import java.sql.SQLException;

import com.cat.model.common.model.admin.AdminModuleVO;
import com.cat.model.common.model.admin.AdminRolePermissionVO;
import com.cat.model.common.model.admin.AdminRoleVO;
import com.cat.model.common.model.admin.AdminUser;
import com.cat.model.common.model.admin.AdminUserRoleVO;


public interface SystemService {

	/**
	 * 新增系统用户
	 * */
	AdminUser addAdminUser(AdminUser vo) throws SQLException;
	
	/**
	 * 更新系统用户
	 * */
	AdminUser updateAdminUser(AdminUser vo) throws SQLException;
	
	/**
	 * 新增菜单
	 * */
	AdminModuleVO addAdminModule(AdminModuleVO vo) throws SQLException;
	
	/**
	 * 更新菜单
	 * */
	AdminModuleVO updateAdminModule(AdminModuleVO vo) throws SQLException;
	
	/**
	 * 新增角色
	 * */
	AdminRoleVO addAdminRole(AdminRoleVO vo) throws SQLException;
	
	/**
	 * 更新角色
	 * */
	AdminRoleVO updateAdminRole(AdminRoleVO vo) throws SQLException;
	
	/**
	 * 新增角色权限
	 * */
	AdminRolePermissionVO insertAdminRolePermission(AdminRolePermissionVO vo) throws SQLException;
	
	/**
	 * 新增用户角色
	 * */
	AdminUserRoleVO insertAdminUserRole(AdminUserRoleVO vo) throws SQLException;

}
